home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Zone 96
/
PC Zone #096.7z
/
Dppcz1200.mdf
/
Demos
/
Gunlok
/
data1.cab
/
Program_Executable_Files
/
scripts
/
yellowbulb.gsh
< prev
next >
Wrap
Text File
|
2000-09-09
|
1KB
|
54 lines
// defines yellow light
////////////////////////////////////////////////////////////////////////////////////
// start wrapper - prevent multiple inclusions or recursive inclusions
//(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
#ifndef INCLUDED_yellow_GSH
#define INCLUDED_yellow_GSH
////////////////////////////////////////////////////////////////////////////////////
#include "defaults.gsh"
pgenerator Pgn_yellow
{
type corona
life infinite
rate 1
// stream direction
x 0
y 0
z 0
// particle colour
red 4
green 2
blue 0.2
alpha 1
}
light Lit_yellow
{
red 0.8
green 0.5
blue 0.1
specular red 0.8
specular green 0.5
specular blue 0.1
range 10
}
role Rol_yellow : Rol_PlacedObject
{
shape Pgn_yellow
light Lit_yellow
identifier "yellowbulb"
}
////////////////////////////////////////////////////////////////////////////////////
// end wrapper - for preventing multiple or recursive inclusions
#endif // !INCLUDED_yellow_GSH